#ifndef NODE_H
#define NODE_H

#include<stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>


#define MAX_HOST_NAME 64
struct node
{
	int id;
	char hostname[MAX_HOST_NAME];
	u_int16_t port;
	struct in_addr ip;
};

extern void print_node(struct node *Node);


#endif
